package org.creativor.rayson.transport.stream;

import static org.junit.Assert.assertNotNull;
import java.io.ByteArrayOutputStream;
import java.io.DataOutput;
import java.io.DataOutputStream;
import org.creativor.rayson.api.TransferSocket;
import org.creativor.rayson.transport.api.TimeLimitConnection;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;

/**
 * The class <code>DataOutputImplTest</code> contains tests for the class
 * <code>{@link DataOutputImpl}</code>.
 * <p>
 * Copyright Creativor Studio (c) 2011
 * 
 * @generatedBy CodePro at 11-5-7 上午3:03
 * @author Nick Zhang
 * @version $Revision: 1.0 $
 */
public class DataOutputImplTest {
	/**
	 * Launch the test.
	 * 
	 * @param args
	 *            the command line arguments
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	public static void main(String[] args) {
		new org.junit.runner.JUnitCore().run(DataOutputImplTest.class);
	}

	/**
	 * Perform pre-test initialization.
	 * 
	 * @throws Exception
	 *             if the initialization fails for some reason
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Before
	public void setUp() throws Exception {
		// TODO: add additional set up code here
	}

	/**
	 * Perform post-test clean-up.
	 * 
	 * @throws Exception
	 *             if the clean-up fails for some reason
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@After
	public void tearDown() throws Exception {
		// TODO: add additional tear down code here
	}

	/**
	 * Run the DataOutputImpl(DataOutput,TransferSocket,TimeLimitConnection)
	 * constructor test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testDataOutputImpl_1() throws Exception {
		DataOutput dataOutput = new DataOutputStream(
				new ByteArrayOutputStream());
		TransferSocket transferSocket = null;
		TimeLimitConnection connection = null;

		DataOutputImpl result = new DataOutputImpl(dataOutput, transferSocket,
				connection);

		// TODO: add additional test code here
		assertNotNull(result);
	}

	/**
	 * Run the void write(int) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWrite_1() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		int b = 1;

		fixture.write(b);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.write(DataOutputImpl.java:56)
	}

	/**
	 * Run the void write(int) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWrite_2() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		int b = 1;

		fixture.write(b);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.write(DataOutputImpl.java:56)
	}

	/**
	 * Run the void write(int) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWrite_3() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		int b = 1;

		fixture.write(b);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.write(DataOutputImpl.java:56)
	}

	/**
	 * Run the void write(byte[]) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWrite_4() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		byte[] b = new byte[] {};

		fixture.write(b);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.write(DataOutputImpl.java:33)
	}

	/**
	 * Run the void write(byte[]) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWrite_5() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		byte[] b = new byte[] {};

		fixture.write(b);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.write(DataOutputImpl.java:33)
	}

	/**
	 * Run the void write(byte[]) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWrite_6() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		byte[] b = new byte[] {};

		fixture.write(b);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.write(DataOutputImpl.java:33)
	}

	/**
	 * Run the void write(byte[],int,int) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWrite_7() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		byte[] b = new byte[] {};
		int off = 1;
		int len = 1;

		fixture.write(b, off, len);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.write(DataOutputImpl.java:44)
	}

	/**
	 * Run the void write(byte[],int,int) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWrite_8() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		byte[] b = new byte[] {};
		int off = 1;
		int len = 1;

		fixture.write(b, off, len);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.write(DataOutputImpl.java:44)
	}

	/**
	 * Run the void write(byte[],int,int) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWrite_9() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		byte[] b = new byte[] {};
		int off = 1;
		int len = 1;

		fixture.write(b, off, len);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.write(DataOutputImpl.java:44)
	}

	/**
	 * Run the void writeBoolean(boolean) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteBoolean_1() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		boolean v = true;

		fixture.writeBoolean(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeBoolean(DataOutputImpl.java:68)
	}

	/**
	 * Run the void writeBoolean(boolean) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteBoolean_2() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		boolean v = true;

		fixture.writeBoolean(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeBoolean(DataOutputImpl.java:68)
	}

	/**
	 * Run the void writeBoolean(boolean) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteBoolean_3() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		boolean v = true;

		fixture.writeBoolean(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeBoolean(DataOutputImpl.java:68)
	}

	/**
	 * Run the void writeByte(int) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteByte_1() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		int v = 1;

		fixture.writeByte(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeByte(DataOutputImpl.java:80)
	}

	/**
	 * Run the void writeByte(int) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteByte_2() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		int v = 1;

		fixture.writeByte(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeByte(DataOutputImpl.java:80)
	}

	/**
	 * Run the void writeByte(int) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteByte_3() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		int v = 1;

		fixture.writeByte(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeByte(DataOutputImpl.java:80)
	}

	/**
	 * Run the void writeBytes(String) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteBytes_1() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		String s = "";

		fixture.writeBytes(s);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeBytes(DataOutputImpl.java:92)
	}

	/**
	 * Run the void writeBytes(String) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteBytes_2() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		String s = "";

		fixture.writeBytes(s);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeBytes(DataOutputImpl.java:92)
	}

	/**
	 * Run the void writeBytes(String) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteBytes_3() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		String s = "";

		fixture.writeBytes(s);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeBytes(DataOutputImpl.java:92)
	}

	/**
	 * Run the void writeChar(int) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteChar_1() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		int v = 1;

		fixture.writeChar(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeChar(DataOutputImpl.java:104)
	}

	/**
	 * Run the void writeChar(int) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteChar_2() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		int v = 1;

		fixture.writeChar(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeChar(DataOutputImpl.java:104)
	}

	/**
	 * Run the void writeChar(int) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteChar_3() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		int v = 1;

		fixture.writeChar(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeChar(DataOutputImpl.java:104)
	}

	/**
	 * Run the void writeChars(String) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteChars_1() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		String s = "";

		fixture.writeChars(s);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeChars(DataOutputImpl.java:116)
	}

	/**
	 * Run the void writeChars(String) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteChars_2() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		String s = "";

		fixture.writeChars(s);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeChars(DataOutputImpl.java:116)
	}

	/**
	 * Run the void writeChars(String) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteChars_3() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		String s = "";

		fixture.writeChars(s);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeChars(DataOutputImpl.java:116)
	}

	/**
	 * Run the void writeDouble(double) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteDouble_1() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		double v = 1.0;

		fixture.writeDouble(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeDouble(DataOutputImpl.java:128)
	}

	/**
	 * Run the void writeDouble(double) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteDouble_2() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		double v = 1.0;

		fixture.writeDouble(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeDouble(DataOutputImpl.java:128)
	}

	/**
	 * Run the void writeDouble(double) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteDouble_3() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		double v = 1.0;

		fixture.writeDouble(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeDouble(DataOutputImpl.java:128)
	}

	/**
	 * Run the void writeFloat(float) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteFloat_1() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		float v = 1.0f;

		fixture.writeFloat(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeFloat(DataOutputImpl.java:140)
	}

	/**
	 * Run the void writeFloat(float) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteFloat_2() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		float v = 1.0f;

		fixture.writeFloat(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeFloat(DataOutputImpl.java:140)
	}

	/**
	 * Run the void writeFloat(float) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteFloat_3() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		float v = 1.0f;

		fixture.writeFloat(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeFloat(DataOutputImpl.java:140)
	}

	/**
	 * Run the void writeInt(int) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteInt_1() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		int v = 1;

		fixture.writeInt(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeInt(DataOutputImpl.java:152)
	}

	/**
	 * Run the void writeInt(int) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteInt_2() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		int v = 1;

		fixture.writeInt(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeInt(DataOutputImpl.java:152)
	}

	/**
	 * Run the void writeInt(int) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteInt_3() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		int v = 1;

		fixture.writeInt(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeInt(DataOutputImpl.java:152)
	}

	/**
	 * Run the void writeLong(long) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteLong_1() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		long v = 1L;

		fixture.writeLong(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeLong(DataOutputImpl.java:164)
	}

	/**
	 * Run the void writeLong(long) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteLong_2() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		long v = 1L;

		fixture.writeLong(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeLong(DataOutputImpl.java:164)
	}

	/**
	 * Run the void writeLong(long) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteLong_3() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		long v = 1L;

		fixture.writeLong(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeLong(DataOutputImpl.java:164)
	}

	/**
	 * Run the void writeShort(int) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteShort_1() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		int v = 1;

		fixture.writeShort(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeShort(DataOutputImpl.java:176)
	}

	/**
	 * Run the void writeShort(int) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteShort_2() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		int v = 1;

		fixture.writeShort(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeShort(DataOutputImpl.java:176)
	}

	/**
	 * Run the void writeShort(int) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteShort_3() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		int v = 1;

		fixture.writeShort(v);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeShort(DataOutputImpl.java:176)
	}

	/**
	 * Run the void writeUTF(String) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteUTF_1() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		String s = "";

		fixture.writeUTF(s);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeUTF(DataOutputImpl.java:188)
	}

	/**
	 * Run the void writeUTF(String) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteUTF_2() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		String s = "";

		fixture.writeUTF(s);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeUTF(DataOutputImpl.java:188)
	}

	/**
	 * Run the void writeUTF(String) method test.
	 * 
	 * @throws Exception
	 * 
	 * @generatedBy CodePro at 11-5-7 上午3:03
	 */
	@Test
	public void testWriteUTF_3() throws Exception {
		DataOutputImpl fixture = new DataOutputImpl(new DataOutputStream(
				new ByteArrayOutputStream()), (TransferSocket) null,
				(TimeLimitConnection) null);
		String s = "";

		fixture.writeUTF(s);

		// TODO: add additional test code here
		// An unexpected exception was thrown in user code while executing this
		// test:
		// java.lang.NullPointerException
		// at
		// org.creativor.rayson.transport.stream.DataStreamer.touch(DataStreamer.java:34)
		// at
		// org.creativor.rayson.transport.stream.DataOutputImpl.writeUTF(DataOutputImpl.java:188)
	}
}